package cn.com.connext.scrm.web.rest.req;

import cn.com.connext.scrm.web.rest.enums.CardCouponNature;

import javax.persistence.Column;
import java.util.Date;

public class ProduceQueryReq {
    private int currentPage;

    private int pageSize;

    private String level;

    private Integer isAlive;//是否上架 0上架  1下架

    private Date onlineTime;//上架时间

    private Date offlineTime;//下架时间

    private String name;//产品名称
    private Integer pointManagerId;//产品名称

    /**
     * 每位会员限兑件数（0表示不限兑）
     */
    private Integer limitPerperson;

    /**
     * 限兑类型（1按月限兑、2按年限兑）
     */
    private String limitType;

    /**
     * 卡券性质
     * @see CardCouponNature
     */
    @Column(name = "coupon_nature")
    private String couponNature;

    /**
     * 有效开始时间
     */
    @Column(name = "start_time")
    private Date startTime;

    /**
     * 有效结束时间
     */
    @Column(name = "end_time")
    private Date endTime;

    public Integer getPointManagerId() {
        return pointManagerId;
    }

    public void setPointManagerId(Integer pointManagerId) {
        this.pointManagerId = pointManagerId;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Integer getIsAlive() {
        return isAlive;
    }

    public void setIsAlive(Integer isAlive) {
        this.isAlive = isAlive;
    }

    public Date getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    public Date getOfflineTime() {
        return offlineTime;
    }

    public void setOfflineTime(Date offlineTime) {
        this.offlineTime = offlineTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCouponNature() {
        return couponNature;
    }

    public void setCouponNature(String couponNature) {
        this.couponNature = couponNature;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getLimitPerperson() {
        return limitPerperson;
    }

    public void setLimitPerperson(Integer limitPerperson) {
        this.limitPerperson = limitPerperson;
    }

    public String getLimitType() {
        return limitType;
    }

    public void setLimitType(String limitType) {
        this.limitType = limitType;
    }
}
